<?

REQUIRE("../protect/connect_jeu.php");
//remettre l'ancien system en nouveau system.


$query="SELECT con_invention,con_id FROM sdconnp";

$resultat=mysql_query($query);
WHILE ($tmp =mysql_fetch_array($resultat) ){

      $inventiontmp=EXPLODE("/",$tmp[0]);
      FOREACH($inventiontmp as $element){
               $query2="INSERT INTO sdcon_inv (inv_id, inv_user) VALUES ($element, $tmp[1])";
              $resultat2=mysql_query($query2);
               echo $query2.";";
      }//Fin du foreach
         echo "<BR>";

}//While



?>
